package cn.ainit.sys.pages.config.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * configObject entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SYS_CONFIG_OBJECT")
public class ConfigObject implements java.io.Serializable {


	private String configId;   //实体类Id
	private String configName; //名称
	private String typeId;     //类型Id（是主明细，还是查询，还是单录单界面）
	private String uiColDsId;  //ui的Ds和column的Id（一样滴）
	private String queryColDsId; //query的Ds和column的Id（一样滴）
	private String queryButnId; //query的button ID
	private String uiButnId;   //ui的button ID
	private String extentDsId;  //扩展的DSId
	private Integer lineCol; //行数
	private String paramer;     //参数
	private String url;        //路径
	private Date inputdate;    //录入时间
	private Date modifydate;    //最后修改时间
	private Integer sortnum;  //排序号
	private String memo;          //备注

	
		
	@Id
	@Column(name = "CONFIG_ID", unique = true, nullable = false, length = 32)
	public String getConfigId() {
		return this.configId;
	}

	public void setConfigId(String configId) {
		this.configId = configId;
	}

	@Column(name = "CONFIG_NAME", nullable = false, length = 20)
	public String getConfigName() {
		return this.configName;
	}

	public void setConfigName(String configName) {
		this.configName = configName;
	}

	@Column(name = "TYPE_ID", length = 32)
	public String getTypeId() {
		return this.typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	@Column(name = "UI_COL_DS_ID", length = 32)
	public String getUiColDsId() {
		return this.uiColDsId;
	}

	public void setUiColDsId(String uiColDsId) {
		this.uiColDsId = uiColDsId;
	}

	@Column(name = "QUERY_COL_DS_ID", length = 32)
	public String getQueryColDsId() {
		return this.queryColDsId;
	}

	public void setQueryColDsId(String queryColDsId) {
		this.queryColDsId = queryColDsId;
	}

	@Column(name = "QUERY_BUTN_ID", length = 32)
	public String getQueryButnId() {
		return this.queryButnId;
	}

	public void setQueryButnId(String queryButnId) {
		this.queryButnId = queryButnId;
	}

	@Column(name = "UI_BUTN_ID", length = 32)
	public String getUiButnId() {
		return this.uiButnId;
	}

	public void setUiButnId(String uiButnId) {
		this.uiButnId = uiButnId;
	}

	@Column(name = "EXTENT_DS_ID", length = 32)
	public String getExtentDsId() {
		return this.extentDsId;
	}

	public void setExtentDsId(String extentDsId) {
		this.extentDsId = extentDsId;
	}

	@Column(name = "LINE_COL", precision = 22, scale = 0)
	 public Integer getLineCol() {
		return lineCol;
	}
	
	public void setLineCol(Integer lineCol) {
		this.lineCol = lineCol;
	}
	
	
	@Column(name = "PARAMER", length = 32)
	public String getParamer() {
		return this.paramer;
	}

	public void setParamer(String paramer) {
		this.paramer = paramer;
	}

	@Column(name = "URL", length = 32)
	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "INPUTDATE", length = 7)
	public Date getInputdate() {
		return this.inputdate;
	}

	public void setInputdate(Date inputdate) {
		this.inputdate = inputdate;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "MODIFYDATE", length = 7)
	public Date getModifydate() {
		return this.modifydate;
	}

	public void setModifydate(Date modifydate) {
		this.modifydate = modifydate;
	}

	@Column(name = "SORTNUM")
	public Integer getSortnum() {
		return sortnum;
	}
	
	public void setSortnum(Integer sortnum) {
		this.sortnum = sortnum;
	}
	
	@Column(name = "MEMO", length = 50)
	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}